package com.liu.controller;

import com.sun.org.apache.xpath.internal.operations.Mod;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserController {

    @GetMapping("/user")
    public String query(Model model){
        model.addAttribute("name","张三");
        model.addAttribute("age","23");
        String tmp = null;
        System.out.println(tmp.length());
        return "/user.jsp";

    }




}
